﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Workorders
{
    /// <summary>
    /// 货品信息
    /// </summary>
    public class Good
    {
        [Key]   
        public int Id { get; set; }
        /// <summary>
        /// 货品编号
        /// </summary>
        public string GoodCode {  get; set; }
        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int GoodState {  get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification {  get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Company {  get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public int SupplierId {  get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public int CustomerId {  get; set; }
        /// <summary>
        /// 入库参考/价
        /// </summary>
        public decimal Rprice {  get; set; }
        /// <summary>
        /// 出库参考价/元
        /// </summary>
        public decimal Cprice {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete { get; set; } = false;
    }
}
